class CreateDetalleGuias < ActiveRecord::Migration
  def self.up
    create_table :detalle_guias do |t|
      t.column :mes_factura, :integer
      t.column :entregadas, :integer
      t.column :recibidas, :integer
      t.column :anomalias, :integer
      t.column :obs_recepcion, :text
      t.column :obs_anomalia, :text
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
      t.column :guia_id, :integer
      t.column :centro_id, :integer
    end
  end

  def self.down
    drop_table :detalle_guias
  end
end
